package com.example.mvp.delegate

import android.widget.TextView
import com.example.baselibrary.R
import com.example.mvp.bean.BottomChoseEntity


/**
 * 底部选择弹出框视图托管类
 * @author  chaohaipeng  on 2018/8/17.
 */
class BottomChoseADapterDelegate:BaseAppDelegate(){
    override fun initWidget() {
    }

    override fun initLayoutRes(): Int {
        return R.layout.adapter_bottom_chose
    }
    /**
     * 设置数据
     */
    fun setData(data: BottomChoseEntity){
       val tv_dailog_bottom_text= getView<TextView>(R.id.tv_dailog_bottom_text)
        tv_dailog_bottom_text.text=data.name
    }

}